Platform Explorer / Nuxeo Platform 2023.13

Extension point unicity

Documentation

The unicity extension point adds a digest to the given field using the given algorithm. If the same file is already on the server, a new Message is send to JMS bus with DocumentLocation if the existing files.

    <unicitySettings>
        <enabled>true</enabled>
        <algo>sha-256</algo>
        <field>file:content</field>
        <computeDigest>true</computeDigest>
    </unicitySettings>

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.filemanager.service.extension.UnicityExtension

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-filemanager-2023.13.9.jar /OSGI-INF/nxfilemanager-plugins-contrib.xml
    <extension point="unicity" target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService">
        <documentation>
          Unicity Service disabled by default.
        </documentation>
    
        <unicitySettings>
          <algo>sha-256</algo>
          <field>file:content</field>
          <enabled>false</enabled>
          <computeDigest>false</computeDigest>
        </unicitySettings>
      </extension>